<?php




namespace app\validate\api;


use think\Validate;

class ChangePasswordValidate extends Validate
{
    protected $failException = true;

    protected $rule = [
        'phone|手机号' => 'require|mobile',
        'pwd|密码' => 'require|min:6',
        'confirm_pwd|确认密码' => 'require|confirm:pwd',
        'sms_code|短信验证码' => 'require|max:4',
    ];
}